package com.liqing.movecomment.dao;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liqing.movecomment.entity.Actor;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * (Actor)表数据库访问层
 *
 * @author makejava
 * @since 2023-05-08 02:01:54
 */
 @Mapper
public interface ActorDao extends BaseMapper<Actor> {


  @Select("SELECT * from actor  where id in (SELECT  actor_id from move_actor where move_id = #{id})")
 List<Actor> selectTagListByMoveId(Integer id);
}

